using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public class objNTV_mong_muon_chuyen_mon
{
    Common comm = new Common();
    DataRow row;

    private  string _ma_chuyen_mon;
    private string _ten_chuyen_mon = "";
    private string _mo_ta;

    public objNTV_mong_muon_chuyen_mon() { }

    public string ma_chuyen_mon
    {
        get
        {
            return _ma_chuyen_mon;
        }
        set
        {
            this._ma_chuyen_mon = value;

        }
    }
    public string mo_ta
    {
        get
        {
            return _mo_ta;
        }
        set
        {
            this._mo_ta = value;

        }
    }
    public string ten_chuyen_mon
    {
        get
        {
            return _ten_chuyen_mon;
        }
    }
    
    public void getName()
    {
        if (!string.IsNullOrEmpty(_ma_chuyen_mon))
            _ten_chuyen_mon = comm.getDataTable("select ten_chuyen_mon from DanhMuc_chuyen_mon where ma_chuyen_mon='" + _ma_chuyen_mon + "'").Rows[0][0].ToString();
    }
}
